package com.lovo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * ?û??
 * </p>
 *
 * @author lovo
 * @since 2022-09-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysUser extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * ???????û????
     */
    @TableId(value = "userId", type = IdType.AUTO)
    private Integer userid;

    /**
     * ?û???
     */
    @TableField("userName")
    private String username;

    /**
     * ???
     */
    @TableField("userPwd")
    private String userpwd;

    /**
     * ??ʵ????
     */
    @TableField("realName")
    private String realname;

    /**
     * Ԥ???????
     */
    @TableField("saveMoney")
    private Integer savemoney;

    /**
     * ?û?Ȩ??,0-??ͨ?û???1-????Ա???û?Ȩ?
     */
    @TableField("userPower")
    private Integer userpower;


}
